<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<style>
			body {
				background-repeat: no-repeat;
				background-image: url(6-14/作业3：学员免费体验登录页面/图片素材/bg.jpg);
				background-position: top;
				background-size: 44%;

			}

			div {
				margin: auto;
				width: 400px;
				height: 500px;
				text-align: center;
				font-size: 20px;
				padding-top: 150px;
				color: white;
			}

			#id {

				height: 40px;
				width: 130px;
				background-image: url(6-14/作业3：学员免费体验登录页面/图片素材/btn.jpg);
				background-size: 130px;
			}
		</style>
	</head>
	<body>
		<div>
			<form action="www.baidu.com" method="GET">
				<p>
					<label for="name"><span style="color: red;">* </span>姓名：</label>
					<input type="text" name="name" id="name" maxlength="8" pattern="[\D]" required />
				</p>
				<p>
					
					<label for="name"><span style="color: red;">* </span>邮箱：</label>
					<input type="email" name="eamil" required />
				</p>
				<p>
					
					<label for="name"><span style="color: red;">* </span>电话：</label>
					<input type="number" name="telephone" maxlength="11"
						required />
				</p>
				<p style="text-align: left; margin-left: 3.5em;">
					性别：<select name="sex">
						<option disabled hidden selected>请选择</option>
						<option value="男">男</option>
						<option value="女">女</option>
					</select>
				</p>
				<p style="text-align: left; margin-left: 3.5em;">
					年龄：<select name="年龄">
						<option disabled hidden selected>请选择</option>
						<option value="1">1</option>
						<option value="11">11</option>
						<option value="22">22</option>
						<option value="33">33</option>
						<option value="44">44</option>
						<option value="55">55</option>
					</select>
				</p>
				<button type="submit" id="id"></button>

		</div>
	</body>
</html>
